<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>std.c.locale</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "std.c.locale";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/std.c.locale.html" class="symbol">std.c.locale</a></h1>
  
<div class="summary">C's &lt;locale.h&gt;</div>
<p class="sec_header">License:</p>Public Domain
<p class="sec_header">Standards:</p>ISO/IEC 9899:1999 7.11
<dl>
<dt class="decl">struct <a class="symbol _struct" name="lconv" href="./htmlsrc/std.c.locale.html#L14" kind="struct" beg="14" end="114">lconv</a>; <a title="Permalink to this symbol" href="#lconv" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L14">#</a></dt>
<dd class="ddef">
<div class="summary">Structure giving information about numeric and monetary notation.</div>
<dl>
<dt class="decl">char* <a class="symbol _variable" name="lconv.decimal_point" href="./htmlsrc/std.c.locale.html#L16" kind="variable" beg="16" end="16">decimal_point</a>; <a title="Permalink to this symbol" href="#lconv.decimal_point" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L16">#</a></dt>
<dd class="ddef">
<div class="summary">The decimal-point character used to format nonmonetary quantities.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.thousands_sep" href="./htmlsrc/std.c.locale.html#L21" kind="variable" beg="21" end="21">thousands_sep</a>; <a title="Permalink to this symbol" href="#lconv.thousands_sep" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L21">#</a></dt>
<dd class="ddef">
<div class="summary">The character used to separate groups of digits before the
 decimal-point character in formatted nonmonetary quantities.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.grouping" href="./htmlsrc/std.c.locale.html#L26" kind="variable" beg="26" end="26">grouping</a>; <a title="Permalink to this symbol" href="#lconv.grouping" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L26">#</a></dt>
<dd class="ddef">
<div class="summary">A string whose elements indicate the size of each group of digits
 in formatted nonmonetary quantities.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.int_curr_symbol" href="./htmlsrc/std.c.locale.html#L35" kind="variable" beg="35" end="35">int_curr_symbol</a>; <a title="Permalink to this symbol" href="#lconv.int_curr_symbol" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L35">#</a></dt>
<dd class="ddef">
<div class="summary">The international currency symbol applicable to the current locale.
 The first three characters contain the alphabetic international
 currency symbol in accordance with those specified in ISO 4217.
 The fourth character        (immediately preceding the null character)
 is the character used to separate the international currency symbol
 from the monetary quantity.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.currency_symbol" href="./htmlsrc/std.c.locale.html#L38" kind="variable" beg="38" end="38">currency_symbol</a>; <a title="Permalink to this symbol" href="#lconv.currency_symbol" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L38">#</a></dt>
<dd class="ddef">
<div class="summary">The local currency symbol applicable to the current locale.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.mon_decimal_point" href="./htmlsrc/std.c.locale.html#L41" kind="variable" beg="41" end="41">mon_decimal_point</a>; <a title="Permalink to this symbol" href="#lconv.mon_decimal_point" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L41">#</a></dt>
<dd class="ddef">
<div class="summary">The decimal-point used to format monetary quantities.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.mon_thousands_sep" href="./htmlsrc/std.c.locale.html#L46" kind="variable" beg="46" end="46">mon_thousands_sep</a>; <a title="Permalink to this symbol" href="#lconv.mon_thousands_sep" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L46">#</a></dt>
<dd class="ddef">
<div class="summary">The separator for groups of digits before the decimal-point in
 formatted monetary quantities.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.mon_grouping" href="./htmlsrc/std.c.locale.html#L51" kind="variable" beg="51" end="51">mon_grouping</a>; <a title="Permalink to this symbol" href="#lconv.mon_grouping" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L51">#</a></dt>
<dd class="ddef">
<div class="summary">A string whose elements indicate the size of each group of digits
 in formatted monetary quantities.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.positive_sign" href="./htmlsrc/std.c.locale.html#L56" kind="variable" beg="56" end="56">positive_sign</a>; <a title="Permalink to this symbol" href="#lconv.positive_sign" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L56">#</a></dt>
<dd class="ddef">
<div class="summary">The string used to indicate a nonnegative-valued formatted
 monetary quantity.</div></dd>
<dt class="decl">char* <a class="symbol _variable" name="lconv.negative_sign" href="./htmlsrc/std.c.locale.html#L61" kind="variable" beg="61" end="61">negative_sign</a>; <a title="Permalink to this symbol" href="#lconv.negative_sign" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L61">#</a></dt>
<dd class="ddef">
<div class="summary">The string used to indicate a negative-valued formatted monetary
 quantity.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.int_frac_digits" href="./htmlsrc/std.c.locale.html#L66" kind="variable" beg="66" end="66">int_frac_digits</a>; <a title="Permalink to this symbol" href="#lconv.int_frac_digits" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L66">#</a></dt>
<dd class="ddef">
<div class="summary">The number of fractional digits (those after the decimal-point) to
 be displayed in an internationally formatted monetary quantity.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.frac_digits" href="./htmlsrc/std.c.locale.html#L71" kind="variable" beg="71" end="71">frac_digits</a>; <a title="Permalink to this symbol" href="#lconv.frac_digits" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L71">#</a></dt>
<dd class="ddef">
<div class="summary">The number of fractional digits (those after the decimal-point) to
 be displayed in a locally formatted monetary quantity.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.p_cs_precedes" href="./htmlsrc/std.c.locale.html#L74" kind="variable" beg="74" end="74">p_cs_precedes</a>; <a title="Permalink to this symbol" href="#lconv.p_cs_precedes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L74">#</a></dt>
<dd class="ddef">
<div class="summary">1 if currency_symbol precedes a positive value, 0 if succeeds.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.p_sep_by_space" href="./htmlsrc/std.c.locale.html#L77" kind="variable" beg="77" end="77">p_sep_by_space</a>; <a title="Permalink to this symbol" href="#lconv.p_sep_by_space" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L77">#</a></dt>
<dd class="ddef">
<div class="summary">1 if a space separates currency_symbol from a positive value.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.n_cs_precedes" href="./htmlsrc/std.c.locale.html#L80" kind="variable" beg="80" end="80">n_cs_precedes</a>; <a title="Permalink to this symbol" href="#lconv.n_cs_precedes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L80">#</a></dt>
<dd class="ddef">
<div class="summary">1 if currency_symbol precedes a negative value, 0 if succeeds.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.n_sep_by_space" href="./htmlsrc/std.c.locale.html#L83" kind="variable" beg="83" end="83">n_sep_by_space</a>; <a title="Permalink to this symbol" href="#lconv.n_sep_by_space" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L83">#</a></dt>
<dd class="ddef">
<div class="summary">1 if a space separates currency_symbol from a negative value.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.p_sign_posn" href="./htmlsrc/std.c.locale.html#L91" kind="variable" beg="91" end="91">p_sign_posn</a>; <a title="Permalink to this symbol" href="#lconv.p_sign_posn" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L91">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.n_sign_posn" href="./htmlsrc/std.c.locale.html#L92" kind="variable" beg="92" end="92">n_sign_posn</a>; <a title="Permalink to this symbol" href="#lconv.n_sign_posn" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L92">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.int_p_cs_precedes" href="./htmlsrc/std.c.locale.html#L95" kind="variable" beg="95" end="95">int_p_cs_precedes</a>; <a title="Permalink to this symbol" href="#lconv.int_p_cs_precedes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L95">#</a></dt>
<dd class="ddef">
<div class="summary">1 if int_curr_symbol precedes a positive value, 0 if succeeds.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.int_p_sep_by_space" href="./htmlsrc/std.c.locale.html#L98" kind="variable" beg="98" end="98">int_p_sep_by_space</a>; <a title="Permalink to this symbol" href="#lconv.int_p_sep_by_space" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L98">#</a></dt>
<dd class="ddef">
<div class="summary">1 iff a space separates int_curr_symbol from a positive value.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.int_n_cs_precedes" href="./htmlsrc/std.c.locale.html#L101" kind="variable" beg="101" end="101">int_n_cs_precedes</a>; <a title="Permalink to this symbol" href="#lconv.int_n_cs_precedes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L101">#</a></dt>
<dd class="ddef">
<div class="summary">1 if int_curr_symbol precedes a negative value, 0 if succeeds.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.int_n_sep_by_space" href="./htmlsrc/std.c.locale.html#L104" kind="variable" beg="104" end="104">int_n_sep_by_space</a>; <a title="Permalink to this symbol" href="#lconv.int_n_sep_by_space" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L104">#</a></dt>
<dd class="ddef">
<div class="summary">1 iff a space separates int_curr_symbol from a negative value.</div></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.int_p_sign_posn" href="./htmlsrc/std.c.locale.html#L112" kind="variable" beg="112" end="112">int_p_sign_posn</a>; <a title="Permalink to this symbol" href="#lconv.int_p_sign_posn" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L112">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char <a class="symbol _variable" name="lconv.int_n_sign_posn" href="./htmlsrc/std.c.locale.html#L113" kind="variable" beg="113" end="113">int_n_sign_posn</a>; <a title="Permalink to this symbol" href="#lconv.int_n_sign_posn" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L113">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">auto <a class="symbol _variable" name="LC_CTYPE" href="./htmlsrc/std.c.locale.html#L119" kind="variable" beg="119" end="119">LC_CTYPE</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#LC_CTYPE" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L119">#</a></dt>
<dd class="ddef">
<div class="summary">Affects the behavior of C's character handling functions and C's multibyte
 and wide character functions.</div></dd>
<dt class="decl">auto <a class="symbol _variable" name="LC_NUMERIC" href="./htmlsrc/std.c.locale.html#L125" kind="variable" beg="125" end="125">LC_NUMERIC</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#LC_NUMERIC" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L125">#</a></dt>
<dd class="ddef">
<div class="summary">Affects the decimal-point character for C's formatted input/output functions
 and C's string conversion functions, as well as C's nonmonetary formatting
 information returned by the localeconv function.</div></dd>
<dt class="decl">auto <a class="symbol _variable" name="LC_TIME" href="./htmlsrc/std.c.locale.html#L128" kind="variable" beg="128" end="128">LC_TIME</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#LC_TIME" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L128">#</a></dt>
<dd class="ddef">
<div class="summary">Affects the behavior of the strftime and wcsftime functions.</div></dd>
<dt class="decl">auto <a class="symbol _variable" name="LC_COLLATE" href="./htmlsrc/std.c.locale.html#L131" kind="variable" beg="131" end="131">LC_COLLATE</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#LC_COLLATE" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L131">#</a></dt>
<dd class="ddef">
<div class="summary">Affects the behavior of the strcoll and strxfrm functions.</div></dd>
<dt class="decl">auto <a class="symbol _variable" name="LC_MONETARY" href="./htmlsrc/std.c.locale.html#L136" kind="variable" beg="136" end="136">LC_MONETARY</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#LC_MONETARY" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L136">#</a></dt>
<dd class="ddef">
<div class="summary">Affects the monetary formatting information returned by the localeconv
 function.</div></dd>
<dt class="decl">auto <a class="symbol _variable" name="LC_ALL" href="./htmlsrc/std.c.locale.html#L139" kind="variable" beg="139" end="139">LC_ALL</a>; <span class="attrs">[<span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#LC_ALL" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L139">#</a></dt>
<dd class="ddef">
<div class="summary">The program's entire locale.</div></dd>
<dt class="decl">char* <a class="symbol _function" name="setlocale" href="./htmlsrc/std.c.locale.html#L144" kind="function" beg="144" end="144">setlocale</a><span class="params">(int <em>category</em>, const char* <em>locale</em>)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#setlocale" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L144">#</a></dt>
<dd class="ddef">
<div class="summary">The setlocale function selects the appropriate portion of the program's
 locale as specified by the category and locale arguments.</div></dd>
<dt class="decl">lconv* <a class="symbol _function" name="localeconv" href="./htmlsrc/std.c.locale.html#L150" kind="function" beg="150" end="150">localeconv</a><span class="params">()</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#localeconv" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/std.c.locale.html#L150">#</a></dt>
<dd class="ddef">
<div class="summary">The localeconv function sets the components of an object with type
 lconv with values appropriate for the formatting of numeric quantities
 (monetary and otherwise) according to the rules of the current locale.</div></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 1999-2008 by Digital Mars ®, All Rights Reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Sun Dec 28 04:26:35 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>